﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class ShopTask:Npc
    {
        private string item;
        public ShopTask(string name, NpcType type, string item) : base(name, type)
        {
            this.item  = item;
        }

        public override void speck()
        {
            //Console.WriteLine("亲爱的客官，有啥需要的吗！！！！");
            Console.WriteLine("NPC:{0},小店有:{1}", base.Name, this.item);
        }
    }
}
